package com.liuceng.zen.mapper;

import java.util.List;
import java.util.Map;

import com.liuceng.zen.common.annotations.MyBatisRepository;
import com.liuceng.zen.pojo.domain.GdtCampaign;

@MyBatisRepository
public interface GdtCampaignMapper extends BaseMapper<GdtCampaign> {
  int insert(GdtCampaign record);

  int updateByPrimaryKey(GdtCampaign record);

  GdtCampaign findByCid(Long cid);

  int updateByUid(Map<String, Object> params);
  
  List<GdtCampaign> findbyMemberId(Integer memberId);
  
  Integer countByMemberId(Integer memberId);
  
  GdtCampaign selectCampaignByMemberId(Integer memberId);
}
